import {
    _get,
    _post
} from '../../utils/request'
import util from '../../utils/util'
const app = getApp()

Page({
    data: {
        items: [],
        title: ''
    },
    back() {
        dd.navigateTo({
            url: '/pages/home/home'
        })
    },
    jump_reviewing(e) {
        // console.log(e);
        app.reviewing_id = e.currentTarget.id
        dd.navigateTo({
            url: '/pages/reviewing/reviewing'
        })
    },
    getList() {
        let params = {
            ReCheckVbizId: app.review_id
        }
        _get(`/ReCheck/select_project`, params).then(res => {
            console.log('校核检测项', res);
            this.setData({
                items: res.data.data,
                title: res.data.title
            })
        })
    },
    onLoad() {
        dd.setNavigationBar({
            title: "校核",
            backgroundColor: "#142e4f",
            success() {},
            fail() {},
        });
        this.getList()
    },

});